#include <iostream>

int main(int argc, char** argv) {
  int A[] = {1, 2, 3, 4, 5, 6};
  int* p = &A[3];
  std::cout << "A[3]: " << A[3] << std::endl;
  std::cout << "p[1]: " << p[1] << std::endl;
  std::cout << "p[-1]: " << p[-1] << std::endl;
}